#!/usr/bin/env python
# $Id: template_class_exploit.py,v 1.0 2018/07/08 00:06:52 dhn Exp $

class Exploit:

	def __init__(self, shellcode):
		self._shellcode = shellcode
		self._payload = None

	def __write(self):
		f = open("poc.txt", "w")
		f.write(self._payload)
		f.close()

	def run(self):
		pattern = "A" * 666

		# TODO: Change me!
		self._payload = pattern

		self.__write()

def main():
	# TODO: Change me!
	shellcode = (
	)

	exploit = Exploit(shellcode)
	exploit.run()

if __name__ == "__main__":
	main()
